package com.beamfield.dao.steelplant;

import com.beamfield.model.SteelplantCutting;
import com.beamfield.modelVo.SteelplantCuttingVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SteelplantCuttingMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SteelplantCutting record);

    int insertSelective(SteelplantCutting record);

    SteelplantCutting selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SteelplantCutting record);

    int updateByPrimaryKey(SteelplantCutting record);

    List<SteelplantCuttingVO> selectPage(@Param("offset") String offset, @Param("limit") String limit, @Param("beamId") Long beamId);

    long countPage(@Param("beamId") Long beamId);

    List<SteelplantCuttingVO> selectByUsepartId(String usepartId);
}
